package com.bruceli.service.impl;


import com.bruceli.dao.CustomerMapper;
import com.bruceli.pojo.Customer;
import com.bruceli.service.CustomerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CustomerServiceImpl implements CustomerService {
    @Autowired
    private CustomerMapper customerMapper;

    @Override
    public List<Customer> findAll() {
        return customerMapper.findAll();
    }
}
